From: Leo Date: Thu, 16 Dec 2010 02:26:39 +0000 (+0800) Subject: * eshell/eshell.el (eshell-directory-name): Use locate-user-emacs-file (Bug#7578). X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~5373 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=353804267f89d6ad06f37ac0f4deabdeafe1c7e5;p=emacs.git * eshell/eshell.el (eshell-directory-name): Use locate-user-emacs-file (Bug#7578). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 65b93d2ca95..208133db832 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-12-16 Leo + + * eshell/eshell.el (eshell-directory-name): Use + locate-user-emacs-file (Bug#7578). + 2010-12-15 Glenn Morris * loadup.el (symbol-file-load-history-loaded): Remove; unused. diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el index 89ec3ab9c60..3c534f049c5 100644 --- a/lisp/eshell/eshell.el +++ b/lisp/eshell/eshell.el @@ -285,7 +285,8 @@ shells such as bash, zsh, rc, 4dos." "`eshell-buffer-name' is a member of `same-window-buffer-names'" (member eshell-buffer-name same-window-buffer-names)) -(defcustom eshell-directory-name (convert-standard-filename "~/.eshell/") +(defcustom eshell-directory-name + (locate-user-emacs-file "eshell/" ".eshell/") "The directory where Eshell control files should be kept." :type 'directory :group 'eshell)